Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = void 0;

var e = require("../@babel/runtime/helpers/classCallCheck"), t = require("../@babel/runtime/helpers/createClass"), r = require("../@babel/runtime/helpers/inherits"), u = require("../@babel/runtime/helpers/createSuper"), i = function(i) {
    r(c, i);
    var o = u(c);
    function c() {
        return e(this, c), o.apply(this, arguments);
    }
    return t(c, [ {
        key: "getbrightBoxDetails",
        value: function(e) {
            return this.request({
                url: "/pms/product/getProductBrightBoxContent",
                data: e,
                method: "POST"
            });
        }
    }, {
        key: "directBuyDetails",
        value: function(e) {
            return this.request({
                url: "/pms/product/getProductBlindBoxContent",
                data: {
                    productId: e
                },
                method: "POST"
            });
        }
    }, {
        key: "directBuySize",
        value: function(e) {
            return this.request({
                url: "/pms/product/getProductSpecList",
                data: {
                    productId: e
                },
                method: "POST"
            });
        }
    }, {
        key: "sellNoctice",
        value: function(e) {
            return this.request({
                url: "/pms/product/productSoldNotice",
                data: {
                    productId: e
                },
                method: "POST"
            });
        }
    }, {
        key: "arrivalNotice",
        value: function(e) {
            return this.request({
                url: "/pms/product/productArrivalNotice",
                data: {
                    productId: e
                },
                method: "POST"
            });
        }
    }, {
        key: "noticeStatus",
        value: function(e) {
            var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
            return this.request({
                url: "/pms/product/checkNotice/".concat(e, "/").concat(t)
            });
        }
    }, {
        key: "listen",
        value: function(e) {
            return this.request({
                url: "/ums/member/subscribeNotice/".concat(e)
            });
        }
    } ]), c;
}(require("./_http").HTTP);

exports.default = i;